<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>signUp</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
</head>
<body>

        <div id="app">
            <li v-for="message in sites">
                {{ sites.name }}
            </li>
        </div>


{{--    @foreach (session(1) as $k=>$val)--}}
{{--    --}}
{{--        @if ($k === 'name')--}}
{{--            <p>name: {{ $val}} </p>--}}
{{--        @else--}}
{{--            <p>联系方式: {{ $val}} </p>--}}
{{--        @endif--}}
{{--    @endforeach--}}
</body>
    <script>
        var app = new Vue({
            el:'#app',
            data:{
                message: [{name:1},{'phone':2}

                ]
            }
        })

    </script>
</html>
